package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 领导干部奖惩情况
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
@Data
@TableName("IG_REWARDS_PUNISHMENTS")
public class IgRewardsPunishments extends Model<IgRewardsPunishments> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId("REWARDS_PUNISHMENTS_ID")
    private String rewardsPunishmentsId;

    /**
     * 人员ID
     */
    @TableField("EMP_ID")
    private String empId;

    /**
     * 奖惩时间
     */
    @TableField("RP_DATE")
    private Date rpDate;

    /**
     * 奖惩事由
     */
    @TableField("RP_REASON")
    private String rpReason;

    /**
     * 奖惩决定机关
     */
    @TableField("RP_COMPANY")
    private String rpCompany;

    /**
     * 奖惩类型
     */
    @TableField("RP_TYPE")
    private String rpType;

    /**
     * 创建人
     */
    @TableField("CREATE_OP")
    private String createOp;

    /**
     * 创建时间
     */
    @TableField("CREATE_DATE")
    private Date createDate;

    /**
     * 修改人
     */
    @TableField("EDIT_OP")
    private String editOp;

    /**
     * 修改时间
     */
    @TableField("EDIT_DATE")
    private Date editDate;

    @TableField("PROJECT_ID")
    private String projectId;


    @Override
    protected Serializable pkVal() {
        return this.rewardsPunishmentsId;
    }

}
